package com.spider.polymorphsm3;

public class Tortoise extends Animal {
    @Override
    public void run() {
        System.out.println("Tortoise run slowly!");
    }
    //乌龟缩头的方法
    public void shrinkHead(){
        System.out.println("Tortoise shrink head!");
    }
}
